﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Notes
{
    public class Note
    {
        private long id;
        private string title;
        private string formattedText;
        private DateTime creaation;
        private DateTime modified;
        private int flags;
        private string tags;
        private string attachments;   
               
        public long ID
        {
            get
            {
                return id;
            }
            set
            {
                id = value;
            }
        }

        public string Title
        {
            get
            {
                return title;
            }
            set
            {
                title = value;
            }
        }

        public string Text
        {
            get
            {
                return formattedText;
            }
            set
            {
                formattedText = value;
            }
        }

        public DateTime Creation
        {
            get
            {
                return creaation;
            }
            set
            {
                creaation = value;
            }
        }

        public DateTime Modified
        {
            get
            {
                return modified;
            }
            set
            {
                modified = value;
            }
        }

        public string Tags
        {
            get
            {
                return tags;
            }
            set
            {
                tags = value;
            }
        }

        public int Flags
        {
            get
            {
                return flags;
            }
            set
            {
                flags = value;
            }
        }

        public string Attachments
        {
            get
            {
                return attachments;
            }
            set
            {
                attachments = value;
            }
        }
    }
}
